﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace WebApiV3.Data.Entity
{
    public class Admin1300DbContext : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            var connetionString = "server=.;database=Admin1300;uid=sa;pwd=123456";
            optionsBuilder.UseSqlServer(connetionString);

        }

        public DbSet<Users> Users { get; set; }

        public DbSet<Roles> Roles { get; set; }
    }
}
